<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<table border="2" align="center">
		<th align="center">购物清单</th>
		<c:forEach items="${cart }" var="book">
			<tr>
				<td>${book.key }</td>
				<td>${book.value }</td>
			</tr>
		</c:forEach>
		<tr>
			<td align="center"><h3><a href="shop.jsp">返回</h3></td>
			<td><h3><a href="../add">购买</h3></td>
		</tr>
	</table>
	
</body>
</html>